
import { Route } from 'react-keeper'
const PageQuality = require('./subpages/qualitycontrol');
const PageQulityDetail = require('./subpages/qualitycontrol/subpagecontent/qualitydetail');
const PageProgressTrackDetail = require('./subpages/qualitycontrol/subpagecontent/progresstrack');
const PageVersionManMobile = require('./subpages/qualitycontrol/subpagecontent/versionmanmobile');
const PageVersionManPc = require('./subpages/qualitycontrol/subpagecontent/versionmanpc');
const PageAchievementmanage = require('./subpages/achievementmanage');
const PageTenderachievement = require('./subpages/tenderachievement');
const PageAchievements = {
    page: require('./PageAchievements'),
    route: () => {
        return (<Route path='/achievements' component={Achievements} />
        )
    }
}

const Achievements = () => {
    return (
        <div>
            <Route index component={PageAchievements.page} ></Route>
            <Route path="/quality" component={Quality} ></Route>
            <Route name="源代码" path="/achievementmanage" component={PageAchievementmanage} ></Route>
            <Route name="招标成果" path="/tenderachievement" component={PageTenderachievement} />
        </div>)
}
const Quality = () => {
    return (<div>
        <Route name="质量管理" index component={PageQuality} ></Route>
        <Route name="质量管理详情页" path="/manage_detail" component={PageQulityDetail} ></Route>
        <Route name="进度跟踪详情页" path="/process_detail" component={PageProgressTrackDetail} ></Route>
        <Route name="版本管理手机详情页" path="/version_detail_m" component={PageVersionManMobile} ></Route>
        <Route name="版本管理pc详情页" path="/version_detail_p" component={PageVersionManPc} ></Route>
    </div>)
}
export default PageAchievements;